<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>导入文件</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/plugins/dropzone/dropzone.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <!-- Mainly scripts -->
    <script src="js/jquery-2.1.1.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="js/plugins/jeditable/jquery.jeditable.js"></script>
    <!-- Custom and plugin javascript -->
    <script src="js/inspinia.js"></script>
    <script src="js/plugins/pace/pace.min.js"></script>
</head>

<body>
<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element"> <span>
                            <img alt="image" class="img-circle" src="img/profile_small.jpg"/>
                             </span>
                        <a style="cursor: default!important;">
                            <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">Leon</strong>
                             </span> <span class="text-muted text-xs block">前端开发</span> </span>
                        </a>
                    </div>
                    <div class="logo-element"></div>
                </li>
                <li class="active">
                    <a href="orderListReceive.html"><i class="fa fa-bar-chart-o"></i><span class="nav-label">订单管理</span></a>
                </li>
            </ul>
        </div>
    </nav>

    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i>
                    </a>

                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <!--<li>-->
                    <!--<a href="settings_contacts_organization.html" target="_blank">-->
                    <!--<i class="fa fa-gears"></i>设置-->
                    <!--</a>-->
                    <!--</li>-->
                    <!--<li>-->
                    <!--<a>-->
                    <!--<i class="fa fa-sign-out"></i>退出登录-->
                    <!--</a>-->
                    <!--</li>-->
                </ul>

            </nav>
        </div>
        <div class="row wrapper border-bottom white-bg page-heading">
            <div class="col-lg-12">
                <h2>导入文件</h2>
            </div>
        </div>
        <div class="wrapper wrapper-content">
            <div class="row">
                <div class="col-lg-12 animated fadeInRight">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="ibox float-e-margins">
                                <div class="ibox-content table-responsive">
                                    <div class="col-lg-6">
                                        <form id="dropZoneOwn" class="dropzone dz-clickable dz-initialHide" action="#">
                                            <div class="dropzone-previews"></div>
                                            <!--<button type="submit" class="btn btn-primary pull-right">提交文件</button>-->
                                            <div class="dz-default dz-message"><span>拖动文件至此区域</span></div>
                                        </form>
                                        <div class="afterUploadList dz-initialHide" id="errorMessage">
                                            <span class="left-top-introduce" style="left: 30px">错误信息</span>
                                            <div class="errorContentWall" data-bind="foreach:{data:GetErrorFileList,as:'rows'}">
                                                <div class="afterUploadListElement">
                                                    <div class="left-afterUploadListElementInner" data-bind="text:rows.FFILENAME">
                                                    </div>
                                                </div>
                                                <div class="errorContent">
                                                        <div data-bind="text:FERRORMESSAGE"></div></div></div></div>
                                        <div id="startTranslateIt" class="pull-right btn btn-primary dz-initialHide" style="margin-top: 10px" onclick="uploadFileStart()">
                                            开始解析
                                        </div>
                                    </div>
                                    <div class="col-lg-6 afterUploadList" id="readingIt">
                                        <span class="left-top-introduce">解析中</span>
                                        <div class="bindData-Content" data-bind="foreach:GetUndealingFileList">
                                            <div class="afterUploadListElement">
                                                <div class="left-afterUploadListElementInner" data-bind="text:FFILENAME">
                                        </div>
                                         </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-6 afterUploadList afterUploadListEnd pull-right">
                                        <span class="left-top-introduce">已完成</span>
                                        <div class="bindData-Content" data-bind="foreach:GetDealingFileList">
                                            <div class="afterUploadListElement">
                                                <div class="left-afterUploadListElementInner" data-bind="text:FFILENAME">
                                                </div>
                                                <div class="right-afterUploadListElementInner btn btn-primary btn-sm" data-bind="attr:{selfId:_id}" onclick="checkIt(this)">
                                                    查 看
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="footer">
            <div>
                <strong>Copyright</strong> Amoy Studio &copy; 2015-2016
            </div>
        </div>
    </div>
</div>


<!--选择上传渠道-->
<div class="modal inmodal fade" id="modal-confirmChoose" tabindex="-1" role="dialog" aria-hidden="true"
     style="display: none;">
    <div class="modal-dialog ">
        <div class="modal-content animated bounceInLeft">
            <div class="modal-header M-modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span
                        class="sr-only">Close</span></button>
                <h2>选择渠道来源</h2>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group"><label class="col-sm-3 control-label" style="white-space: normal">渠道：</label>

                        <div class="col-sm-7">
                            <select class="form-control" id="sourceChoose">
                                <option value="1">其他</option>
                                <option value="2">携程</option>
                            </select>
                        </div>
                    </div>
                </form>
              </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="confirmDeleteNotice()">确 认</button>
            </div>
        </div>
    </div>
</div>

<!-- mainJS -->
<script type="text/javascript" src="js/knockout-3.2.0.js"></script>
<script src="js/common.js"></script>

<!-- DROPZONE -->
<script src="js/plugins/dropzone/dropzone.js"></script>

<script src="js/pages/uploadIndex.js"></script>

<!-- datetimepicker -->
<script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>

</body>
</html>
